/**
 * hnjz.com Inc.
 * Copyright (c) 2004-2013 All Rights Reserved.
 */
package com.hnjz.common.domain;

/**
 * 下拉框返回结果
 * 
 * @author wumi
 * @version $Id: Combobox.java, v 0.1 Jan 17, 2013 2:27:30 PM wumi Exp $
 */
public class Combobox {

    /**下拉框对应的key*/
    private String  id;
    /**下拉框对应的value*/
    private String  name;

    private boolean selected;

    public Combobox(String id, String name) {
        super();
        this.id = id;
        this.name = name;
    }

    public Combobox(String id, String name, boolean selected) {
        super();
        this.id = id;
        this.name = name;
        this.selected = selected;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

}
